import { Component, OnInit } from '@angular/core';
import {Router} from '@angular/router';

@Component({
  selector: 'app-discuss-index',
  templateUrl: './discuss-index.component.html',
  styleUrls: ['./discuss-index.component.css']
})
export class DiscussIndexComponent implements OnInit {

  constructor(private router: Router) { }

  ngOnInit(): void {
  }

  createDiscuss():void {
    this.router.navigateByUrl('discuss/create')
  }
}
